<include file="public@header"/>
<style>
    .home-info li em {
        float: left;
        width: 120px;
        font-style: normal;
        font-weight: bold;
    }

    .home-info ul {
        padding: 0;
        margin: 0;
    }
</style>
<hook name="admin_before_head_end"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <form class="well form-inline margin-top-20" method="post" action="{:url('main/index')}">
        日期:
        <input type="date" class="form-control" name="releaseday" style="width: 160px;" value="{:input('request.releaseday')}">
        <input type="submit" class="btn btn-primary" value="切换" />
        <a class="btn btn-danger" href="">清空</a>
    </form>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th style="text-align: right">数据名称</th>
            <th>数据值</th>
            <th style="text-align: right">数据名称</th>
            <th>数据值</th>
        </tr>
        </thead>
        <tbody>
            <tr>
                <td style="text-align: right">初始的分发日期</td>
                <td>{$yesterday_data['releaseday']}</td>
                <td style="text-align: right">初始资金池资金</td>
                <td>{$yesterday_data['initcashpool']}</td>
            </tr>
            <tr>
                <td style="text-align: right">初始爱币池爱币</td>
                <td>{$yesterday_data['initcoinpool']}</td>
                <td style="text-align: right">冠名总收入资金</td>
                <td>{$yesterday_data['totalgameordermoney']}</td>
            </tr>
            <tr>
                <td style="text-align: right">冠名返利资金数</td>
                <td>{$yesterday_data['totalgameorderreturnprofitmoney']}</td>
                <td style="text-align: right">冠名返利爱币数</td>
                <td>{$yesterday_data['totalgameorderreturnprofitcoin']}</td>
            </tr>
            <tr>
                <td style="text-align: right">用户兑现资金数</td>
                <td>{$yesterday_data['totalexchangecash']}</td>
                <td style="text-align: right">用户兑现爱币数</td>
                <td>{$yesterday_data['totalexchangecoin']}</td>
            </tr>
            <tr>
                <td style="text-align: right">用户充值现金数</td>
                <td>{$yesterday_data['totaldepositmoney']}</td>
                <td style="text-align: right">用户提现总金额</td>
                <td>{$yesterday_data['totalwithdrawmoney']}</td>
            </tr>
            <tr>
                <td style="text-align: right">用户领奖爱币数</td>
                <td>{$yesterday_data['totalawardcoin']}</td>
                <td style="text-align: right">当前资金池资金</td>
                <td>{$yesterday_data['initcashpool'] + $yesterday_data['totalgameorderreturnprofitmoney'] - $yesterday_data['totalexchangecash']}</td>
            </tr>
            <tr>
                <td style="text-align: right">当前爱币池爱币</td>
                <td>{$yesterday_data['initcoinpool'] + $yesterday_data['totalgameorderreturnprofitcoin'] - $yesterday_data['totalexchangecoin']}</td>
                <td style="text-align: right">未领取的爱币数</td>
                <td>{$yesterday_data['initreleasecoin'] - $yesterday_data['totalawardcoin']}</td>
            </tr>
            <tr>
                <td style="text-align: right">冠名净收入资金</td>
                <td>{$yesterday_data['totalgameordermoney'] - $yesterday_data['totalgameorderreturnprofitmoney']}</td>
                <td style="text-align: right">资金池新增资金</td>
                <td>{$yesterday_data['increate_totalgameordermoney']}</td>
            </tr>
            <tr>
                <td style="text-align: right">资金池增长比例</td>
                <td>{$yesterday_data['increate_proportion_totalgameordermoney']}</td>
                <td style="text-align: right">爱币池增长比例</td>
                <td>{$yesterday_data['increate_proportion_totalgameordericon']}</td>
            </tr>
            <tr>
                <td style="text-align: right">爱币池新增爱币</td>
                <td>{$yesterday_data['increate_initcoinpool']}</td>
                <td style="text-align: right">公司账户的收入</td>
                <td>{$yesterday_data['company_account_income']}</td>
            </tr>
            <tr>
                <td style="text-align: right">下一轮资金池资金</td>
                <td>{$yesterday_data['nextcashpool']}</td>
                <td style="text-align: right">下一轮爱币池爱币</td>
                <td>{$yesterday_data['nextcoinpool']}</td>
            </tr>
            <tr>
                <td style="text-align: right">下一轮爱币兑换价</td>
                <td>{$yesterday_data['nextcoinprice']}</td>
                <td style="text-align: right">下一轮分发爱币数</td>
                <td>{$yesterday_data['nextreleasecoin']}</td>
            </tr>
            <tr>
                <td style="text-align: right">下一轮分发的秒数</td>
                <td>{$yesterday_data['nextreleasesecond']}</td>
                <td style="text-align: right">下一轮每秒分发爱币数</td>
                <td>{$yesterday_data['nextreleasecoinpersecond']}</td>
            </tr>
        </tbody>
    </table>
</div>
<script src="__STATIC__/js/admin.js"></script>
<php>
    $lang_set=defined('LANG_SET')?LANG_SET:'';
    $thinkcmf_version=defined('THINKCMF_VERSION')?THINKCMF_VERSION:'';
</php>
<hook name="admin_before_body_end"/>
</body>
</html>